Silence compiler warnings new with gcc 8.
authorWerner Koch <wk@gnupg.org>
Mon, 17 Dec 2018 17:46:26 +0000 (18:46 +0100)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 22 Aug 2019 19:11:59 +0000 (20:11 +0100)
commit59086e0b073c31a19b5e7ef1c67946c61cdf1d99
tree6e401994294a1fd69a9d9bae1361ac3667c88d65
parent31751f9a95d7f6c9e93ddb552252aed1bbe3d211
Silence compiler warnings new with gcc 8.

* dirmngr/dns.c: Include gpgrt.h.  Silence -Warray-bounds also gcc.
* tests/gpgscm/scheme.c: Include gpgrt.h.
(Eval_Cycle): Ignore -Wimplicit-fallthrough.
--

The funny use of case and labels in the CASE macro seems confuse the
fallthrough detection.

Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit 21fc089148678f59edb02e0e16bed65b709fb972)

Gbp-Pq: Topic from-2.2.13
Gbp-Pq: Name Silence-compiler-warnings-new-with-gcc-8.patch
dirmngr/dns.c
tests/gpgscm/scheme.c